package com.apollographql.apollo.api;

import java.util.List;
import com.kt.Metadata;
import com.kt.jvm.functions.Function2;
import com.kt.jvm.internal.Intrinsics;

@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u001d\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010 \n\u0000\n\u0002\u0018\u0002\n\u0000*\u0001\u0000\b\n\u0018\u00002\b\u0012\u0004\u0012\u00028\u00000\u0001J \u0010\u0002\u001a\u00020\u00032\u000e\u0010\u0004\u001a\n\u0012\u0004\u0012\u00028\u0000\u0018\u00010\u00052\u0006\u0010\u0006\u001a\u00020\u0007H\u0016¨\u0006\b"}, d2 = {"com/apollographql/apollo/api/internal/ResponseWriter$ListItemWriter$writeList$1", "Lcom/apollographql/apollo/api/internal/ResponseWriter$ListWriter;", "write", "", "items", "", "listItemWriter", "Lcom/apollographql/apollo/api/internal/ResponseWriter$ListItemWriter;", "apollo-api"}, k = 1, mv = {1, 4, 0})
/* compiled from: ResponseWriter.kt */
public final class ResponseWriter$ListItemWriter$writeList$1<T> implements ResponseWriter.ListWriter<T> {
    final /* synthetic */ Function2 $block;

    ResponseWriter$ListItemWriter$writeList$1(Function2 $captured_local_variable$0) {
        this.$block = $captured_local_variable$0;
    }

    @Override // com.apollographql.apollo.api.internal.ResponseWriter.ListWriter
    public void write(List<? extends T> list, ResponseWriter.ListItemWriter listItemWriter) {
        Intrinsics.checkParameterIsNotNull(listItemWriter, "listItemWriter");
        this.$block.invoke(list, listItemWriter);
    }
}
